import Vue from 'vue'
import App from './App.vue'

import router from './router'
import store from './store'

import { getUnitInfo } from '@/config.js'
Vue.prototype.getUnitInfo = getUnitInfo

import '@/styles/index.scss' // global css

// 测试环境
import Vconsole from 'vconsole'
new Vconsole()

Vue.config.productionTip = false

const app = new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

export default app
